//
//  M1HttpNet.h
//  NewMarryU
//
//  Created by apple on 2018/7/16.
//  Copyright © 2018年 Cedar. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFHTTPSessionManager.h"
@interface M1HttpNet : NSObject
+(NSURLSessionTask *)requestWithMethod:(NSString *)method params:(NSDictionary *)params success:(void(^)(id resDic, NSInteger code, NSString *message))response fail:(void(^)(id resDic, NSInteger code, NSString *message))fail showAni:(BOOL)isShowAni;
@end

@interface AfManager:AFHTTPSessionManager
+(instancetype)sharedManager;
@end
